package com.xbj.service;

import com.github.pagehelper.PageInfo;
import com.xbj.domain.Role;

import java.util.List;

public interface RoleService extends BaseService<Role> {

    PageInfo<Role> getListByPage(int currentNum, int pageSize, String name);

    void saveRolePermission(int roleId, String permissionIds);

    List<Role> getRoleListByUserId(int userId);

    void deleteBatchByIds(String[] idsStr);

}
